public class Teachers extends Person {
	String MaKhoa;

	public Teachers() {
	}

	public Teachers(int age) {
		super(age);
	}

	public void Nhap() throws Exception {
		super.Nhap();
		System.out.print("Nhap ma khoa");
		MaKhoa = in.readLine();
	}

	public void In() {
		System.out.println("Ho ten giao vien: " + hoten);
		System.out.println("Dia chi giao vien: " + diachi);
		System.out.println("Ma khoa giáo viên: " + MaKhoa);
	}

	public int Tinhluong() {
		return 50000;
	}
}
